<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">


<h:form>

	<h:panelGrid columns="2" cellpadding="3"
		style="font-size: 12px; text-align: left;  width: 100%">

		<h:outputLabel for="login" styleClass="t-NegritaIzquierda"
			value="Login: *" />
		<p:inputText id="login" value="#{loginBean.login.usuario}"
			label="Login" required="true" requiredMessage="Login es requerido">
		</p:inputText>

		<h:outputLabel for="password" styleClass="t-NegritaIzquierda"
			value="Password: *" />
		<p:password value="#{loginBean.login.password}" id="password"
			required="true" requiredMessage="Password es requerido"
			label="Password" />
		<h:commandLink action="#{loginBean.ingresarUsuario}" immediate="true">
			<p:graphicImage id="sing" url="/images/sign.png">
			</p:graphicImage>
		</h:commandLink>
				
	</h:panelGrid>
</h:form>
</html>